package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.ProjectLoanDeadlineConfig;
import com.niiwoo.civet.trade.enums.ProjectTypeEnum;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ProjectLoanDeadlineConfigMapperExt extends ProjectLoanDeadlineConfigMapper {
    List<ProjectLoanDeadlineConfig> selectAll(@Param("rateConfigTypeEnum") ProjectTypeEnum rateConfigTypeEnum);
    ProjectLoanDeadlineConfig selectByAmount(@Param("rateConfigTypeEnum") ProjectTypeEnum rateConfigTypeEnum,@Param("amount") BigDecimal amount);
}